import { request } from "@/utils/request";

enum Api {
	LIST_DEPARTMENT = '/department/listDepartment'
}
type ListParams={
	hospitalId?:string
}
export function listDepartment(data?:ListParams){
	console.log('listParams',data);
	return request({url:Api.LIST_DEPARTMENT,data,method:"POST"})
}
